import request from 'src/utils/request.js'

export function login(data) {
    return request({
        url: '/account/login/',
        method: 'post',
        data
    })
}

export function weChatLogin(query) {
    return request({
        url: '/account/login/',
        params: query
    })
}